package com.song.elasticsearch.es;

public enum EsIndexEnum {
    PHONE("phone","default","手机信息");

    private String index;
    private String doc;
    private String desc;

    EsIndexEnum(String index, String doc, String desc) {
        this.index = index;
        this.doc = doc;
        this.desc = desc;
    }

    public String getIndex() {
        return index;
    }

    public EsIndexEnum setIndex(String index) {
        this.index = index;
        return this;
    }

    public String getDoc() {
        return doc;
    }

    public EsIndexEnum setDoc(String doc) {
        this.doc = doc;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public EsIndexEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
